<?php /* Smarty version Smarty-3.0.6, created on 2020-02-03 15:43:46
         compiled from "/www/wwwroot/gushi.phoenixfm.cn/tpl/m/gushi.html" */ ?>
<?php /*%%SmartyHeaderCode:6603915015e37cf32d24318-40593399%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'db7fe8f9ab42b3acfd1c014d4f4145565e07258c' => 
    array (
      0 => '/www/wwwroot/gushi.phoenixfm.cn/tpl/m/gushi.html',
      1 => 1551772436,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6603915015e37cf32d24318-40593399',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/www/wwwroot/gushi.phoenixfm.cn/SpeedPHP/Drivers/Smarty/plugins/modifier.truncate.php';
?> <?php $_template = new Smarty_Internal_Template("m/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
 <!--主要内容区-->
  <div class="container">
    <div class="row">
      <!--左侧内容-->
      <div class="col-xs-12">
        <!--内容-->
      	<div class="panel panel-primary">
          <div class="panel-heading">
            <h3><?php echo $_smarty_tpl->getVariable('result')->value['title'];?>
 <a href="#"><i class="icon icon-volume-up"></i></a></h3>
          </div>
          <div class="panel-body">
            <p><span class="label label-warning"><?php echo $_smarty_tpl->getVariable('result')->value['dynasty'];?>
</span> <span class="label label-info"><?php echo $_smarty_tpl->getVariable('result')->value['author'];?>
</span></p>
            <p><?php echo nl2br($_smarty_tpl->getVariable('result')->value['content']);?>
</p>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn"><i class="icon icon-heart"></i></button>
                <button class="btn"><i class="icon icon-comment"></i></button>
                <button class="btn"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><?php echo $_smarty_tpl->getVariable('resultd')->value['tags'];?>
</div>
          </div>
        </div>
        <!--作者-->
        <div class="panel">
          <div class="panel-body">
            <div class="row">
            	<div class="col-xs-3"><img src="<?php echo $_smarty_tpl->getVariable('authors')->value['pic'];?>
" style="width:105px;height:150px" alt=""></div>
                <div class="col-xs-8">
              		<h3><?php echo $_smarty_tpl->getVariable('authors')->value['title'];?>
</h3>
                    <p><?php echo $_smarty_tpl->getVariable('authors')->value['intro'];?>
</p>
                </div>	
            </div>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn"><i class="icon icon-heart"></i></button>
                <button class="btn"><i class="icon icon-comment"></i></button>
                <button class="btn"><i class="icon icon-wechat"></i></button>
              </div>
          </div>
        </div>    
        <!--猜您喜欢-->
        <div class="list-group">
          <a href="#" class="list-group-item active">
            <h4 class="list-group-item-heading">猜你喜欢</h4>
          </a>
        </div>
        <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('res_gushi')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
        <div class="panel panel-primary">
          <div class="panel-body">
            <div class="title-heading"><strong><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gsDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</a></strong><div style="float:right;"><button class="btn btn-primary" type="button">背诵</button></div></div>
              <p><span class="label label-warning"><?php echo $_smarty_tpl->tpl_vars['wx']->value['dynafy'];?>
</span> <span class="label label-info"><?php echo $_smarty_tpl->tpl_vars['wx']->value['author'];?>
</span></p>
              <div class="content-content text-muted"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['wx']->value['content'],120,"...",true);?>
</div>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn"><i class="icon icon-heart"></i></button>
                <button class="btn"><i class="icon icon-comment"></i></button>
                <button class="btn"><i class="icon icon-wechat"></i></button>
              </div>
          </div>
        </div>
        <?php }} ?>    
      </div>
      
   </div>
 <?php $_template = new Smarty_Internal_Template("m/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>